<div class='fui-page  fui-page-current'>
    <div class="fui-header">
		<div class="title">会员资料</div> 
		<div class="fui-header-right">&nbsp;</div>
	</div>
	<div class='fui-content' style='margin-top:100px;'>
		<div class="fui-list-group">
			<a class="fui-list" href="javascript:;" ng-click="access_json('core/member.cavatar/')">
				<div class="fui-list-media">
					<img class="round avatar" ng-src="{{tomedia(pagedata.item.avatar)  || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-list-inner">
					<div class="title nickname">{{pagedata.item.nickname || '匿名'}}</div>
				</div>
				<div class="fui-list-angle">
					<div class="angle"></div>
				</div>
			</a>
		</div>
		<div class="fui-cell-group">
			<div class="fui-cell must ">
				<div class="fui-cell-label ">昵称</div>
				<div class="fui-cell-info"><input type="text" class='fui-input' placeholder="设置昵称" ng-model="pagedata.item.nickname" /></div>
			</div>
			<div class="fui-cell">
				<div class="fui-cell-label">出生日期</div>
				
							<div class="fui-cell-label" style="width:28%">
								<select ng-model="pagedata.item.birth.year" class="form-control tpl-province">
								<option value="" selected="selected">年</option>
								<option ng-repeat="value in pagedata.years" value="{{value}}" ng-selected="pagedata.item.birth.year==value">{{value}}</option>
								</select>
							</div>
							<div class="fui-cell-label" style="width:28%">
								<select ng-model="pagedata.item.birth.month" class="form-control tpl-city">
								<option value="" selected="selected">月</option>
								<option ng-repeat="value in pagedata.months" value="{{value}}" ng-selected="pagedata.item.birth.month==value">{{value}}</option>
								</select>
							</div>
							<div class="fui-cell-label" style="width:28%">
								<select ng-model="pagedata.item.birth.day" class="form-control tpl-district">
								<option value="" selected="selected">日</option>
								<option ng-repeat="value in pagedata.days" ng-show="showday(pagedata.item.birth.year,pagedata.item.birth.month,value)" value="{{value}}" ng-selected="pagedata.item.birth.day==value">{{value}}</option>
								</select>
							</div>
				
			</div>
			<div class="fui-cell">
				<div class="fui-cell-label ">所在城市</div>
				
							<div class="fui-cell-label" style="width:28%">
								<select ng-model="pagedata.item.pcd.province" class="form-control tpl-province">
								<option value="" selected="selected">请选择省份</option>
								<option ng-repeat="(value,data) in pagedata.province" value="{{value}}" ng-selected="pagedata.item.pcd.province==value">{{value}}</option>
								</select>
							</div>
							<div class="fui-cell-label" style="width:28%">
								<select ng-model="pagedata.item.pcd.city" class="form-control tpl-city">
								<option value="" selected="selected">请选择城市</option>
								<option ng-repeat="(value,data) in pagedata.province[pagedata.item.pcd.province]" value="{{value}}" ng-selected="pagedata.item.pcd.city==value">{{value}}</option>
								</select>
							</div>
							<div class="fui-cell-label" style="width:28%">
								<select ng-model="pagedata.item.pcd.district" class="form-control tpl-district">
								<option value="" selected="selected">请选择区县</option>
								<option ng-repeat="value in pagedata.province[pagedata.item.pcd.province][pagedata.item.pcd.city]" value="{{value}}" ng-selected="pagedata.item.pcd.district==value">{{value}}</option>
								</select>
							</div>
				
			</div>
		 
		</div>
		<a href='javascript:;' ng-click="post(pagedata.item,'post')" class='btn btn-success block'>确认修改</a>
	</div>
</div>